package com.comdo.newup_loan.module.register;

import com.comdo.newup_loan.base.BaseRxPresenter;
import com.comdo.newup_loan.base.BaseView;

/**
 * Created by liyuan on 2017/10/30.
 */

interface RegisterContract {
    interface View extends BaseView {
        void registerFail(String failMessage);
        void register();
        void getCode();
        void getCodeFail(String failMessage);

    }

    abstract class Presenter extends BaseRxPresenter<View> {
        /**
         * 提交注册
         */
        public abstract void register(String account,String password,String validCode);
        /**
         * 提交验证码
         */
        public abstract void getCode(String mobile);
    }
}
